/*
 * @Author: your name
 * @Date: 2021-03-15 09:17:40
 * @LastEditTime: 2021-11-23 13:48:17
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue-blog-web\src\main.js
 */

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import GlobalErrorPlugin from '@plugins/GlobalErrorPlugin'
import '@styles/reset.css'
import '@styles/common.less'
import '@styles/variable.less'

Vue.use(ElementUI)
Vue.use(GlobalErrorPlugin)
Vue.prototype.$ServerIP = 'http://42.192.124.222'
// Vue.prototype.$ServerIP = 'http://127.0.0.1:7001'
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
